<head>
	<style type="text/css">
		.show{
			display: block;
		}
		.hidden{
			display: none;
		}
	</style>
	<script type="text/javascript" src="../../jquery/lib/jquery-1.7.2.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$(".dirLists>span").click(function(){
				var childrenDivObj = "#"+ $(this).html();
				$(this).nextAll(childrenDivObj).toggle();
			});
			$(".hidden>span").click(function(){
				var childrenDivObj = "#"+ $(this).html();
				$(this).nextAll(childrenDivObj).toggle();
			});
		});
	</script>
</head>
<?php
include_once("functions.php");
if(!empty($_POST['path'])){
	$readdir = $_POST['path'];
}else{
	$readdir = "F:\www\phpeclipse\checkphp";
}
?>
<body>
	<form action="readdirDIV.php" method="post">
		<input type="text" name="path" style="width: 800px;" value="<?php echo $readdir; ?>" /><br>
		<input type="submit" value="提交" /><a href="readdirDivNoSign.php">刷新</a>
	</form>
</body>
<?php
	$sign = "-->";
	$signNum = 1;
	echo "<div class='dirHead'>".$readdir."</div>";
	echo "<div class='dirLists show'>";
	fileDivListNoSign($readdir,$sign,$signNum);
	echo "</div>";
?>